package demo04;

/**
 * @author wql
 * @version 1.0
 * @date 2022/11/9 18:30
 */

public class Test {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory(new Haha());
        Haha instance =(Haha) proxyFactory.getInstance();
       instance.add(1,4);

    }
}
